<?= flash() ?? '' ?>

<div class="breadcrumb d-flex align-items-center px-3 js-scroll js-autohide">
    <?php if(session('user_id')): ?>
        <div class="btn btn-icon me-3 hidden-lg hidden-md hidden-sm" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasNav" aria-controls="offcanvasNav">
            <i class="iconfont icon-user"></i>
        </div>
    <?php else: ?>
        <a role="button" class="btn btn-icon me-3 hidden-lg hidden-md hidden-sm" href="/user-login">
            <i class="iconfont icon-user"></i>
        </a>
    <?php endif; ?>
    <h2 class="w-100 fs-18 hand js-top"><?= $page_title ?? ''; ?></h2>
</div>

<div class="py-3 px-5">
    <h2>欢迎来到你的收件箱！</h2>
    <p class="text-muted mt-2">可以和别人进行私密对话，大家互发私信、分享帖子等。</p>
    <a href="###" class="btn btn-secondary btn-lg px-4 rounded-pill mt-4 fw-bold">写一封私信</a>
</div>
